package com.ficus.road.maintain.core.infrastructure.mongo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

@Data
@Document(collection = "opod_config")
public class Config {

    @Id
    private String id;
    @Field("module")
    private String module;
    @Field("config_name")
    private String configName;
    @Field("config_value")
    private Object configValue;
}
